local bumielongqv = fk.CreateSkill{
  name = "bumielongqv",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["bumielongqv"] = "不灭龙躯",
  [":bumielongqv"] = "锁定技，游戏开始时，令所有角色获得x点护甲（x=你的最大体力值）。",

}

bumielongqv:addEffect(fk.GameStart, {
  mute = true,
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(bumielongqv.name) and #player.room:getOtherPlayers(player, false) > 0
  end,
  on_cost = Util.TrueFunc,
  on_use = function (self, event, target, player, data)
    local room = player.room
    local armor = math.floor(player.maxHp)
    for _, p in ipairs(room:getAlivePlayers()) do
        room:changeShield(p,armor)
    end
  end,
})

return bumielongqv
